//公共页面布局样式
.person-pub-style{
  width: 100%;
  height: calc(100vh - 85px);
  display: flex;
  padding: 0 15px;
  flex-direction: column;
}
//公共查询条件样式
.per-search-condition{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  height: 70px;
  .el-button{
    margin-left: 10px;
    border-radius: 1px;
  }
  .el-select .el-input{
    width: calc(100% - 10px);
  }
  .el-input__inner{
    width: 100%;
    border-radius: 1px;
    height: 28px;
  }
}
.per-search-condition>div{
  width: 20%;
  max-width: 250px;
  height: 28px;
  border-radius: 1px;
}
.template-btn{
  display: flex;
  height: 44px;
  justify-content: flex-end;
  .el-button{
    height: 28px;
    margin-left: 10px;
  }
  .el-button:first-child{
    margin-left: 0;
  }
}
//公共页面中间内容样式
.per-middle-content{
  width: 100%;
  flex: 1;
  .el-table__header-wrapper{
    height: 40px;
    th{
      padding: 0;
      height: 40px;
    }
  }
  .el-table__body-wrapper{
    overflow-y: auto;
    height: calc(100% - 40px);
    td{
      padding: 0;
      height: 40px;
    }
  }
  .el-table__body-wrapper::-webkit-scrollbar{
    background-color: #FFFFFF;
    width: 7px;
  }
  .el-table__body-wrapper::-webkit-scrollbar-thumb{
    background-color: #1890ff;
  }
}
//公共页面底部分页区域样式
.per-bottom-pagination{
  padding: 0 !important;
  margin-top: 0 !important;
  height: 60px;
  display: flex;
  align-items: center;
}
//公共弹窗样式
.public-dialog-style{
  width: 100%;
  .el-dialog{
    width: 500px;
    height: auto;
    margin-top: 5% !important;
  }
  .el-dialog__body{
    padding: 0;
    height: calc(100% - 44px);
    max-height: 800px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .el-dialog__header{
    height: 44px;
    display: flex;
    align-items: flex-end;
    padding:0 20px;
  }
  .el-form{
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px;
    .el-form-item:first-child{
      margin-top: 18px;
    }
    .el-form-item {
      display: flex;
      .el-form-item__label{
        text-align: right;
      }
      .el-form-item__content{
        flex: 1;
        margin-left: 0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .el-input .el-input__inner{
          width: 99%;
        }
        .el-select{
          .el-input .el-input__inner{
            width: 100%;
          }
        }
        div:first-child{
          flex: 1;
          width: 99%;
        }
        .el-form-item__error{
          width: max-content;
          position: unset;
          top: 0;
          padding-top: 0;
          padding-left: 10px;
          text-align: right;
        }
        .el-textarea{
          .el-textarea__inner{
            width: 99%;
          }
        }
      }
    }
  }

  .dialog-footer{
    display: flex;
    justify-content: flex-end;
    height: 60px;
    align-items: center;
    padding: 0 16px !important;
    margin: 0;
  }
  .el-table{
    margin-top: 15px;
  }
}
